<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>个人主页</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">

	<link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
	<link rel="stylesheet" href="/static/layuiadmin/style/admin.css" media="all">
	<link rel="stylesheet" href="/static/layuiadmin/style/template.css" media="all">
</head>
<body>
<div class="layui-fluid layadmin-homepage-fluid">
  	<div class="layui-row layui-col-space8">
    	<div class="layui-col-md2">
      		<div class="layadmin-homepage-panel layadmin-homepage-shadow">
        		<div class="layui-card text-center">
          			<div class="layui-card-body">
            			<div class="layadmin-homepage-pad-ver">
              				<img class="layadmin-homepage-pad-img" src="{$info.head_img}" width="96" height="96">
            			</div>
            			
            			<p class="layadmin-homepage-min-font">{$info.doctor.no}</p>
            			<button class="layui-btn layui-btn-fluid"><h4 class="layadmin-homepage-font" style="color:#fff">{$info.nickname}</h4></button>
          			</div>
        		</div>

        		<p class="layadmin-homepage-about">关于我</p>
				<ul class="layadmin-homepage-list-group">
					<li class="list-group-item"><i class="layui-icon layui-icon-cellphone-fine"></i>手机号：{$info.phone}</li>
					<li class="list-group-item"><i class="layui-icon layui-icon-auz"></i>博士号：{$info.doctor_no}</li>
					<li class="list-group-item"><i class="layui-icon layui-icon-location"></i>邮  箱：{$info.email}</li>
					<li class="list-group-item"><i class="layui-icon layui-icon-star"></i>粉丝数：{$info.fans}</li>
				</ul>

				<p class="layadmin-homepage-about">标签</p>
				<ul class="layadmin-homepage-list-inline">
					{if $info['is_audience'] == 1}
					<a href="javascript:;" class="layui-btn layui-btn-primary">听客</a>
					{/if}

					{if $info['is_matchmaker'] == 1}
					<a href="javascript:;" class="layui-btn layui-btn-primary">红娘</a>
					{/if}

					{if $info['is_consultant'] == 1}
					<a href="javascript:;" class="layui-btn layui-btn-primary">咨询师</a>
					{/if}

					{if $info['is_tutor'] == 1}
					<a href="javascript:;" class="layui-btn layui-btn-primary">婚恋导师</a>
					{/if}
				</ul>
      		</div>
    	</div>

    	<div class="layui-col-md10">
			<div class="layui-fluid layadmin-cmdlist-fluid">
				<div class="layui-card-header">
					<h2 class="panel-title"><i class="layui-icon layui-icon-picture"></i> 相册</h2>
			    </div>
				<div class="layui-row layui-col-space30">
					{foreach $album as $v}
					<div class="layui-col-md2 layui-col-sm4">
						<div class="cmdlist-container">
							<a href='{:url("User/user_album_img")}?id={$v.id}'><img src="{$v['img']}"></a>
							<a href="javascript:;">
								<div class="cmdlist-text">
								  	<p class="info">{$v.name}</p>
								</div>
							</a>
						</div>
					</div>
					{/foreach}
				</div>
			</div>
    	</div>
  	</div>
</div>

<script charset="utf-8" src="/static/layui/layui.js" type="text/javascript"></script>
<script charset="utf-8" src="/static/js/jquery.min.js" type="text/javascript"></script>
<script>
	layui.config({
	  	base: '/static/layuiadmin/' //静态资源所在路径
	}).extend({
	  	index: 'lib/index' //主入口模块
	}).use('index');
</script>
</body>
</html>